package backend.game.entities;

import interfaces.game.IEntity;

public class Entity implements IEntity
{
	private String textureRef = null;

	private int x;
	private int y;

	@Override
	public String getTextureRef()
	{
		return textureRef;
	}

	public void setTextureRef(String textureRef)
	{
		this.textureRef = textureRef;
	}

	@Override
	public int getX()
	{
		return x;
	}

	public void setX(int x)
	{
		this.x = x;
	}

	@Override
	public int getY()
	{
		return y;
	}

	public void setY(int y)
	{
		this.y = y;
	}

	public Entity(String textureRef, int x, int y)
	{
		this.textureRef = textureRef;

		this.x = x;
		this.y = y;
	}
}
